package com.negative.utils;

import com.negative.activities.PurchaseListActivity;

public class SharingManager {

	private static PurchaseListActivity activity;
	
	public static void setActivity(PurchaseListActivity activity) {
		SharingManager.activity = activity;
	}

	public static boolean shareToFacebook(String movieTitle) {
		if (activity != null && movieTitle != null) {
			return activity.createGraphDialog(movieTitle);
		} else {
			return false;
		}
	}
}
